<section class="rounded-md overflow-hidden">
  <img [src]=" _imgUrl" alt="" (click)="previewImg(imgPreview)" (error)="imgUrl='./assets/images/noimg.png';canPreview=false">
</section>
<ng-template #imgPreview>
  <div style="text-align: center">
    <img [src]="_imgUrl" alt="" class="img" style="max-width: 100%;max-height: 800px">
  </div>
</ng-template>
